package com.luckyzhang.day2.methodFactory;

import com.luckyzhang.day2.bean.Leifeng;
import com.luckyzhang.day2.bean.Volunteer;

public class VolunteerFactory implements ICreateFactory{
    @Override
    public Leifeng createFactory() {
        return new Volunteer();
    }
}
